import java.math.BigInteger;
import java.util.Random;

public class Test07 {
    public static void main(String[] args) {
        Random r=new Random();
        BigInteger bd1=new BigInteger(4,r);
        System.out.println(bd1);
        BigInteger bd2=new BigInteger("999");
        System.out.println(bd2);
        BigInteger bd3=new BigInteger("123");
        System.out.println(bd3);
        BigInteger bd4=new BigInteger("100",2);
        System.out.println(bd4);
        BigInteger bd5=BigInteger.valueOf(100L);
        System.out.println(bd5);
        BigInteger bd6=BigInteger.valueOf(16L);
        BigInteger bd7=BigInteger.valueOf(16L);
        System.out.println(bd6==bd7);
        BigInteger bd9=BigInteger.valueOf(1L);
        BigInteger bd10=BigInteger.valueOf(1L);
        BigInteger result=bd9.add(bd10);
        System.out.println(result);
        System.out.println(result==bd9);
        System.out.println(result==bd10);


    }
}
